//
// Created by fazhehy on 2024/6/9.
//

#ifndef FLASH_H
#define FLASH_H

#include "common_inc.h"

typedef union{
    float   float_type;                                                         		// float  类型
    uint32_t uint32_type;                                                        		// uint32 类型
    int32_t  int32_type;                                                         		// int32  类型
    uint16_t uint16_type;                                                        		// uint16 类型
    int16_t  int16_type;                                                         		// int16  类型
    uint8_t  uint8_type;                                                         		// uint8  类型
    int8_t   int8_type;                                                          		// int8   类型
}flash_data_union;

void flash_write_parameter();
void flash_read_parameter();
void flash_write_default();

#endif //FLASH_H
